package chapter7.No7_4_SimpleDateFormat非线程安全.c解决异常方法2;

import java.text.SimpleDateFormat;

/**
 * Created by Administrator on 2016/12/8.
 */
public class MyDateThreadLocal<T> extends ThreadLocal {
    @Override
    protected Object initialValue() {
        return new SimpleDateFormat();
    }
}
